#ifndef PLAYER_H
#define PLAYER_H

#include <QtGui>
#include "bob.h"
#include "plbord.h"

class Player : public QObject
{
    Q_OBJECT
public:
    explicit Player(int id, QColor col, QObject *parent = 0);

    int id;
    QColor col;

    static const int pcs = 9;
    QList<Bob*> bobs;

    PlBord* plb;
    QWidget* prn;

    int used_bobs;
    int lost_bobs;
    int pts;

    bool islandlocked();

signals:

public slots:

};

#endif // PLAYER_H
